<?php

namespace bc\service\base;

interface IService
{
	public function getTotal($condition = []);
	
	public function getList($params, $page = null, $pageSize = null);
	
	public function getRowById($id);
	
	public function getRow($params);
	
	public function add($data);
	
	public function update($data, $id = null);
}

